package name.fowler.refactoring.simplestore;

import javax.persistence.Entity;

@Entity
public class Movie {
	private String m_Title;
	private Category m_MovieCategory;

	public Movie() {
	}
	
	public Movie(String title, Category movieCategory) {
		m_Title = title;
		m_MovieCategory = movieCategory;
	}

	public Category getCategory()	{
		return m_MovieCategory;
	}
	
	public void setCategory(Category value) {
		m_MovieCategory = value;
	}

	public String getTitle() {
		return m_Title;
	}
}

